import "./assets/main.css";

import { createApp } from "vue";
import { createPinia } from "pinia";
// import Antd from 'ant-design-vue'

import {
  Button,
  Input,
  Tooltip,
  Textarea,
  Avatar,
  Popover,
} from "ant-design-vue";

import App from "./App.vue";
import router from "./router";

const app = createApp(App);

app.use(createPinia());
app.use(router);
app.use(Button).use(Input).use(Tooltip).use(Textarea).use(Avatar).use(Popover);
app.mount("#app");

// 第一次进入或者刷新进首页
router.push("/");
